package net.orange.architecture.db;

/**
 * The relation (and/or)
 */
public class Relation {
	/**
	 * And
	 */
	public final static int AND = 1;

	/**
	 * Or
	 */
	public final static int OR = 0;

	/**
	 * The relation (and / or)
	 */
	private int rl;

	/**
	 * The constructor with the relation (and / or)
	 * 
	 * @param r
	 *            The relation.
	 */
	public Relation(int r) {
		rl = r;
	}

	/**
	 * @return Returns the rl.
	 */
	public int getRl() {
		return rl;
	}

	/**
	 * @param rl
	 *            The rl to set.
	 */
	public void setRl(int rl) {
		this.rl = rl;
	}
}